Summary
Displays a button that performs a specific EPT action.
Category | AS EPT |
Version | 1.0 |
Complies with Xhtml 1.0 / 1.1 rules | Yes |
Supported server programming languages | Unspecified or not applicable |
Output content type | inline |
When to use
This component is intended for usage in EPT editing templates, the component enable users on the Web site to perform EPT actions such as Save, Approve and CheckIn EPT-documents.
Programming interface
Parameters
- Action
- Determines the functionality of the button
-
The following actions are available:
- Approve
- Check in
- Check out
- Delete
- Reject
- Save
- Save and Approve
- Save and Send for Approval
- Send for Approval
- Spell Check
- Action properties
-
- Select action
- Always display the button
- Always display the button, even if action or step not available
- Display the button on action
- Display the button only if the action available
- DisplayName
- Optional, the text of the button.
- Title
- Optional, the title attribute of the button. This value is used as tooltip-text on the button.
- Image
- Optional, an image to display in the button.
- UseEPTText
- Use EPT text in the button. If this option is checked and the DisplayName is not supplied a the default text, which is the name of the action, is used.
- ClassName
- A CSS class name to be used to format the button.
- Attributes
- Optional, a set of custom HTML attributes to apply to the button.
- PreScript
- Optional, the name of a client side javascript-function to run before the specified action. This name may not include any arguments or parantheses. The specified action will be cancelled if the javascript-function returns false.
- AfterScript
- Optional, the name of a client side javascript to run after the action. This name may not include any arguments or parantheses.
Remarks
This component is only useable in EPT Editing templates.